package com.freesky.biz.icbc.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "icbc")
public class IcbcConfiguration {

    @Value("${icbc.configs.appId}")
    private String appId;

    @Value("${icbc.configs.pubGatewayKey}")
    private String pubGatewayKey;

    @Value("${icbc.configs.privateKey}")
    private String privateKey;

    @Value("${icbc.configs.aesEncryptKey}")
    private String aesEncryptKey;

    @Value("${icbc.configs.signType}")
    private String signType;

    @Value("${icbc.configs.notifyUrl}")
    private String notifyUrl;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getPubGatewayKey() {
        return pubGatewayKey;
    }

    public void setPubGatewayKey(String pubGatewayKey) {
        this.pubGatewayKey = pubGatewayKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getAesEncryptKey() {
        return aesEncryptKey;
    }

    public void setAesEncryptKey(String aesEncryptKey) {
        this.aesEncryptKey = aesEncryptKey;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

}
